/* 
 * File:   ScalarDataset.h
 * Author: cjjonker
 *
 * Created on 20 december 2012, 15:06
 */

#ifndef SCALARDATASET_H
#define	SCALARDATASET_H

#include "Dataset.h"

class ScalarDataset: public Dataset<double> {
    
    float d_min;
    float d_max;
            
    public:
        ScalarDataset();
        ScalarDataset(double** dat, int dim, int b);
        virtual double getMin();
        virtual double getMax();
        virtual double getMin(int t_depth, int slice_dt);
        virtual double getMax(int t_depth, int slice_dt);
        
        void calcMin();
        void calcMax();
        void calcMin(int t_depth, int slice_dt);
        void calcMax(int t_depth, int slice_dt);
        
        float getStatMin();
        float getStatMax();
        
        
        
    private:

};

inline double ScalarDataset::getMax() { return getMax(1,1); }

inline double ScalarDataset::getMin() { return getMin(1,1); }



inline float ScalarDataset::getStatMin() { return d_min; }

inline float ScalarDataset::getStatMax() { return d_max; }




#endif	/* SCALARDATASET_H */

